<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="https://unpkg.com/vue@next"></script>
</head>
<body>
    <div id="bind-attribute">
        <span v-bind:title="message">
            鼠标放上去
        </span>
    </div>

</body>
<script>
    const AttributeBinding= {
        data(){
            return {message:'现在时间：'+ new Date().toLocaleString()}
        }   
    }
    Vue.createApp(AttributeBinding).mount('#bind-attribute')

</script>
</html>

<!-- 另一种练习声明式渲染 -->